package fun.werfamily.wf.user.core.domain.constant;

/**
 * @Author: Mr.WenMing Zhang
 * @Date: 2021-12-17 10:02
 * @Description:
 **/
public interface RedisConstant {
    String REDIS_PREFIX = "user-core:";

    String VERIFY_CODE = REDIS_PREFIX + "verify_code:";

    String SPLIT = ":";

    /**
     * 子地址缓存 key geo_code
     */
    String CHILD_GEO_ADDRESS_LIST = REDIS_PREFIX + "geo:child_geo_list:";

    /**
     * 用户收货地址列表
     */
    String USER_ADDRESS_LIST = REDIS_PREFIX + "address:user_code";

    /**
     * 用户默认收货地址
     */
    String USER_DEFAULT_ADDRESS = REDIS_PREFIX + "default_address:user_code";

    /**
     * 收货地址缓存
     */
    String USER_ADDRESS_DETAIL = REDIS_PREFIX + "address_detail:address_no:";

    /**
     * 图片验证码
     */
    String USER_PHONE_PIC_CODE = REDIS_PREFIX + "user_phone_pic_code:";
}
